<!--
 * @Author: sdorein sdorein@163.com
 * @Date: 2024-09-14 13:49:24
 * @LastEditors: sdorein sdorein@163.com
 * @LastEditTime: 2024-09-14 14:57:36
 * @FilePath: \Vue3-ts-vite-template\src\views\about.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<script lang="ts" setup>
import { ref } from 'vue'
import Header from '../components/Header.vue';
import Footer from '../components/Footer.vue';
const text=ref('你好啊')
</script>
<template>
    <Header title="我是头部">
        <template #title>
            <div>我是有名字的插槽</div>
        </template>
    </Header>
    <Footer title="我是底部" v-model="text">
        <div>我是插槽</div>
    </Footer>
</template>